
const env = "local"; // local dev prod
let isOnline = false; // 是否线上环境
let assetsUrl = "/static"; // 资源
let IMG_URL = ""; // 图片地址
let BASE_URL = ""; // 接口地址
let FILE_URL = ""; // file地址
let FR_BASE_URL = '' // FR 接口


if (env === "local") { // 本地环境
	isOnline = false;
	// assetsUrl = "../../static";
	IMG_URL = ""
	FR_BASE_URL = "http://192.168.90.20:8282"
	BASE_URL = "http://im03.powerup.ifun.com:8899";
	FILE_URL = window.location.origin + '/api';
} else if (env === "dev") { // 开发环境
	isOnline = true;
	IMG_URL = ""
	BASE_URL = "";
	FR_BASE_URL = "https://fr-boss-api.gameloyo.com:8484"
	FILE_URL = window.location.origin + '/api';
} else if (env === "prod") { // 生产环境
	isOnline = true;
	IMG_URL = ""
	BASE_URL = "";
	FR_BASE_URL = "https://fr-boss-api.gameloyo.com:8484"
	FILE_URL = window.location.origin + '/api';
}
export {
	isOnline,
	IMG_URL,
	BASE_URL,
	FR_BASE_URL,
	FILE_URL,
	assetsUrl
};


